LICENSE (EUPL-1.2)
------------------

European Union Public Licence v. 1.2

This European Union Public Licence (the "EUPL") applies to the software component known as "AI4ArtsEd ComfyUI Extensions" (the "Work").

The Work is licensed under the EUPL v1.2. You may obtain a copy of the full licence text at:
https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12

By using, modifying, or distributing this Work, you accept the terms and conditions of the EUPL v1.2.

This Work is provided "as is" without warranty of any kind, either express or implied. The licensor is not liable for any damages resulting from its use.

Original work copyright:
(c) 2024 AI4ArtsEd Research Group / Benjamin Jörissen, Friedrich-Alexander-Universität Erlangen-Nürnberg

Third-party code notices:
- Parts of `ai4artsed_openrouter_imageanalysis.py` are adapted from https://github.com/stavsap/comfyui-ollama (c) 2023 stavsap, licensed under the Apache License 2.0. See THIRD_PARTY_LICENSES/comfyui-ollama_APACHE.txt

Compatibility:
The EUPL v1.2 is compatible with the GNU General Public License (GPL) v2, v3, and AGPL, the Mozilla Public License (MPL), and several other open-source licenses. You may relicense under a compatible license if necessary.

---

Lizenz (deutsche Zusammenfassung, nicht rechtsverbindlich)
-----------------------------------------------------------

Diese Software steht unter der **European Union Public Licence (EUPL), Version 1.2**.

Sie dürfen diese Software verwenden, studieren, ändern und weitergeben. Wenn Sie Änderungen vornehmen und diese weiterverbreiten, müssen Sie den Quellcode offenlegen und ebenfalls unter einer kompatiblen Lizenz bereitstellen.

Diese Lizenz gewährleistet, dass Software ein Gemeingut bleibt ("digital commons") und unterstützt insbesondere gemeinwohlorientierte, kulturelle und bildungsbezogene Softwareentwicklung.

Bitte beachten Sie: Die rechtsverbindliche Version der Lizenz ist in mehreren Sprachen online verfügbar unter:
https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12

---

README.md (Lizenzabschnitt)
----------------------------

## License

This repository is licensed under the **European Union Public License (EUPL) v1.2**.

The EUPL ensures that this software remains part of the cultural and educational commons. It guarantees your freedom to use, study, modify, and share the code, while requiring openness for derivative works.

Full license text: [EUPL v1.2](https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)

### Third-party components

Parts of the code in `ai4artsed_openrouter_imageanalysis.py` are adapted from the [ComfyUI Ollama project by stavsap](https://github.com/stavsap/comfyui-ollama), which is licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
See `THIRD_PARTY_LICENSES/comfyui-ollama_APACHE.txt` for details.

---

THIRD_PARTY_LICENSES/comfyui-ollama_APACHE.txt
----------------------------------------------

This license applies to parts of the code adapted from:

Project: ComfyUI Ollama
Author: stavsap
URL: https://github.com/stavsap/comfyui-ollama
License: Apache License 2.0

Copyright 2023 stavsap

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
